import string
import random
import time

string_pool = string.digits + string.ascii_letters

def genActCode(num=200,digits=8):
    codes = []
    for _ in range(num):
        code = ''
        for _ in range(digits):
            code += random.choice(string_pool)
        codes.append(code)
    return codes

if __name__ == "__main__":
    random.seed(time.time())
    codes = genActCode(num=200,digits=12)
    cnt = 0
    for code in codes:
        cnt += 1
        print('code',cnt,': '+code)